﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for ErrorLogBLL
/// </summary>
public class ErrorLogBLL
{
    ErrorLogDAL dataObject;

    public int LogException(Error exception)
    {
        return dataObject.InsertException(exception);
    }

	public ErrorLogBLL()
	{        
        try
        {
            /*initilaize db variables*/
            dataObject = new ErrorLogDAL();
        }
        catch (Exception ex)
        {
            throw ex;
        }
	}
}